<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
        <div class="layui-card">
            <div class="layui-card-header">投放对比数据记录管理</div>
            <div class="layui-card-body">
            <table class="layui-hide" id="test-table-height"></table>
            </div>
        </div>
        </div>
    </div>
</div>

<script>
    layui.use(['admin', 'table'], function(){
      var admin = layui.admin
      ,table = layui.table;
    
      table.render({
        elem: '#test-table-height',
        url: 'http://nm.edongfanghong.com/qxt_top_user30',
        cellMinWidth: 80,
        page: true,
        limit: 10,
        cols: [[
          {type:'checkbox'},
          {field:'title', title: '标题', minWidth:100,},
          {field:'pingtai', title: '投放平台', minWidth:100},
          {field:'neirong', title: '内容标题', minWidth:100,},
          {field:'name', title: '负责人姓名', width: 100},
          {field:'riqi', title: '对比日期', width: 150},
          {field:'jiagefanwei', title: '价格范围', width: 150}

        ]]
      });
    });
</script>